<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>我的关注</title>
	<!-- 静态包含base标签 jQuery文件-->
	<%@include file="/pages/common/head.jsp"%>
	<link type="text/css" rel="stylesheet" href="static/css/style.css" >
	<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
<%--	<script type="text/javascript">--%>
<%--		$(function (){--%>
<%--			$("a.deleteClass").click(function (){--%>
<%--				return confirm("你确定要删除【"+$(this).parent().parent().find("td:first").text()+"】？")--%>

<%--			});--%>
<%--		});--%>

<%--	</script>--%>


</head>
<body>
	
	<div id="header">
<%--			<img class="logo_img" alt="" src="static/img/logo.gif" >--%>
			<span class="wel_word">用户关注:${sessionScope.followerNum}</span>
<%--	<span name="followerNum" ></span>--%>

			<div>
				<%--action=list表示要调用BookServlet里面的list方法--%>
<%--				<a href="${ requestScope.page.url }">图书管理</a>--%>
<%--				<a href="order_manager.jsp">订单管理</a>--%>

				<a href="blogServlet?action=page&username=<c:if test="${not empty sessionScope.queryUserName}">${sessionScope.queryUserName}</c:if><c:if test="${empty sessionScope.queryUserName}">${sessionScope.user.username}</c:if>">返回主页</a>
<%--				<a href="blogServlet?action=page&username=${sessionScope.user.username}">返回主页</a>--%>
			</div>
	</div>
	
	<div id="main">
		<table>
			<tr>
				<td>用户关注</td>
<%--				<td>价格</td>--%>
<%--				<td>作者</td>--%>
<%--				<td>销量</td>--%>
<%--				<td>库存</td>--%>
<%--				<td colspan="2">操作</td>--%>
			</tr>
			<c:forEach items="${followerName}" var="follower">
				<tr>

					<td>${follower.followerName}</td>

<%--					<c:if test="${sessionScope.self==true}">--%>
<%--					<td><a class="deleteClass" href="relationServlet?action=deleteFollower&followerName=${follower.followerName}&followedName=${sessionScope.user.username}">取消关注</a></td>--%>
<%--					</c:if>--%>
				</tr>

			</c:forEach>



			
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>	
		</table>

<%--		&lt;%&ndash;静态包含分页条&ndash;%&gt;--%>
<%--		<%@include file="/pages/common/page_nav.jsp"%>--%>


	</div>
	

</body>
</html>